/* index.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "AlibabaPuHuiTi";
  src: url("../font/AlibabaPuHuiTi-3-55-Regular.woff2") format("woff2"),
    url("../font/AlibabaPuHuiTi-3-55-Regular.woff") format("woff"),
    url("../font/AlibabaPuHuiTi-3-55-Regular.ttf") format("truetype"),
    url("../font/AlibabaPuHuiTi-3-55-Regular.otf") format("opentype"),
    url("../font/AlibabaPuHuiTi-3-55-Regular.eot") format("embedded-opentype");
}

body {
  font-family: "AlibabaPuHuiTi", sans-serif;
}

/* 当屏幕宽度大于或等于768px时，显示导航菜单 */
@media (min-width: 768px) {
  .header nav ul {
    display: block;
  }
  .menu-icon {
    display: none; /* menu-icon隐藏 */
  }
}

/* 当屏幕宽度小于768px时，隐藏导航菜单 */
@media (max-width: 767px) {
  .header nav ul {
    display: none;
  }
  .menu-icon {
    display: block;
  }
}

/* 文字动画 */
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 其他样式保持不变 */
.header {
  background-color: rgba(51, 51, 51, 0.5);
  display: flex;
  justify-content: space-between;
  /* header内所有元素垂直居中 */
  position: fixed;
  padding: 10px;
  height: 65px;
  width: 100%;
  z-index: 1000;
  text-decoration: none;
  border-bottom: 1px solid transparent; /* 修改这一行 */
  border-image: linear-gradient(to right, transparent, white, transparent);
  border-image-slice: 1;
  overflow: hidden;
  transition: height 0.5s ease, padding 0.5s ease, border 0.5s ease,
    background-color 0.5s ease;
}

.header-inner {
  margin-left: 5%;
  width: 100%;
}

.header img {
  width: 180px;
  margin-top: 5%;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

li {
  float: left;
}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover {
  background-color: #111;
}

.main {
  position: relative;
}

.video-text1 {
  position: absolute;
  top: 350px;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 40px;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInOut 6s ease-in-out infinite;
}

.video-text2 {
  position: absolute;
  top: 400px;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.5rem;
  font-weight: 200;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInOut 6s ease-in-out infinite;
}

.news {
  margin: 0 auto;
  width: 100%;
  background-color: #f1f1f1;
}

.news_main {
  margin: 0 auto;
  width: 80%;
  background-color: #f1f1f1;
  padding-top: 2%;
  padding-bottom: 100px;
}

#news_title {
  font-family: "Microsoft Yahei Light";
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 2%;
}

.el-col:hover .text-card:hover {
  background-color: #ff6a00;
  color: white;
  font-weight: bold;
}

.el-col:hover .image-container img {
  transform: scale(1.1); /* 将图片放大到原始大小的110% */
}

.image-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  flex-shrink: 0; /* 防止图片在空间不足时缩小 */
  transition: transform 0.5s ease; /* 在0.5秒内平滑地改变transform属性的值 */
}

.text-card {
  background-color: white;
  padding: 30px;
  flex-grow: 1; /* 使.text-card元素占满剩余的空间 */
  font-size: 1.5rem;
  font-weight: 300;
  height: auto;
  position: relative;
  overflow: hidden;
}

.text-inside-card {
  position: absolute;
  bottom: 0;
  background: #ff6a00;
  color: white;
  width: 100%;
  padding: 30px;
  font-size: 1.5rem;
  height: auto;
}

.text-card .el-divider {
  width: 80%;
  position: absolute;
  top: 50%;
}

.company {
  background-image: url("../image/alicompany.jpg");
  height: 800px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: white;
}

.company img {
  width: 55%;
  margin-left: 5%;
  padding-top: 15%;
  animation: slideDown 2s ease-out;
}

.company-text {
  padding-top: 15%;
  width: 55.375rem;
  text-align: left;
  margin-left: 37%;
  color: white;
  animation: slideUp 2s ease-out;
}

.footer {
  width: 85%;
  background-color: white;
  margin: 0 auto;
  padding-top: 80px;
}

.footer-box {
  width: 100%;
  display: flex;
  margin: 0 auto;
  flex-direction: row;
  overflow: auto;
  justify-content: center;
  margin-bottom: 60px;
}

.footer-left img {
  width: 160px;
}

.footer-right {
  display: flex;
  flex-direction: row;
  margin-left: auto;
}

.footer-right img {
  width: 35px;
  margin-left: 4px;
}

.footer-list {
  background-color: white;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: 50px;
}

.item-title {
  font-weight: 600;
}

.item-li {
  margin-top: 8px;
}

.friendship-link {
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.friendship-link-item {
  display: flex;
  flex-direction: row;
  font-size: 0.7rem;
  justify-content: space-between;
}

.friendship-link-item-2 {
  padding-top: 20px;
  display: flex;
  flex-direction: row;
  font-size: 0.7rem;
  margin: 0 auto;
}

.foot-item {
  text-align: center;
  padding-top: 10px;
  font-size: 9px;
  color: #999;
}

.foot-item-1 {
  text-align: center;
  padding-top: 10px;
  font-size: 10px;
  color: #999;
  padding-bottom: 20px;
}
